package com.shreecon.lms.interfaces.persistance;

import com.shreecon.lms.interfaces.LMSException;
import com.shreecon.lms.persistancy.hbm.EmployeeDetail;

/**
 * The Interface IEmployeeDAO.
 * 
 * @author Santhosh. Modified on Aug 13, 2011
 */
public interface IEmployeeDAO {

    /**
     * Find by user name.
     * 
     * @param userName
     *            the user name
     * @return the employee detail
     * @throws LMSException
     *             the lMS exception
     */
    public EmployeeDetail findByUserName(String userName) throws LMSException;
}
